package com.iotechn.unimall.data.enums;


/**
 * 代表余额明细表变化的类型 0代表收到佣金的变化 1代表花费抵扣的佣金 2代表会员卡充值，3 代表提现，提现资金流水也要发生变化  4 现金充值
 */
public enum DistributionBalanceDetailType {
    Expense_deduction(0, "待确认"),
    EXPENSE_DEDUCTION(1, "花费抵扣的佣金"),
    VIPCARDRECHARGE(2, "会员卡充值"),
    WITHDRAWAL(3, "提现"),
    CASHRECHARGE(4, "现金充值");


    private int code;

    private String msg;

    DistributionBalanceDetailType(int code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    public int getCode() {
        return code;
    }


    public String getMsg() {
        return msg;
    }
}
